package kgc.crm.service;

import kgc.crm.model.Customer;
import kgc.crm.vo.LeadsVo;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

public interface ICustomerService {
    //添加客户
    public ResponseEntity add(Customer customer,String apiToken);
    //修改客户信息
    public ResponseEntity update(Customer customer);
    //刪除客户信息
    public ResponseEntity delete(Integer id);
    //根据id查看客户信息
    public ResponseEntity select(Integer id,String apiToken);
    //查看所有客户信息
    public ResponseEntity selectAll();
    //高级筛选
    public ResponseEntity selectList(LeadsVo vo,String apiToken);
}
